package com.sir.tao.carhire.entity.table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sir.tao.carhire.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author dyy
 * @data 2022/1/1 15:29
 * @description:
 */
@EqualsAndHashCode(callSuper = true)
@TableName("car_type")
@AllArgsConstructor
@Data
@NoArgsConstructor
public class CarTypeEntity extends BaseEntity {


    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    private String id ;

    private String name;

    private String code;


    private Integer flat;

}
